With flow control, you can monitor the processing of the application program. Flow control is provided for the ST, FBD, LD, and CFC language editors.
With an activated flow control, CODESYS displays the variable values and results from function calls and operations at the respective processing location and time. In this way, the exact lines of code and networks that process the current cycle are marked in colors. Compare this to standard monitoring, in which CODESYS delivers only the value that a variable has between two processing cycles.
Flow control works in all parts of the editor view that are currently visible. “Flow control enabled” is then displayed in the status line as long as the function is active and flow control positions (processed parts of code) are visible in an editor view.
You can write values in the declaration part and implementation part. Forcing is not possible.




NOTICE

Values are written at the end of the current cycle.




NOTICE

When you enable ⮫ flow control, the cycle time of the application is prolonged.
When “Confirmed Online Mode” is selected in the communication settings, a dialog prompt appears when switching on the flow control to cancel the operation.
When flow control is enabled, it is not possible to use breakpoints or to step through the program.
-
Display of the flow control in different language editors